<!--套一层div是因为 值改变了页面不渲染问题-->
<div *ngIf="isVisible">
  <nz-modal [(nzVisible)]="isVisible"
            [nzWidth]="400" [nzTitle]="'批量启用/禁用设备'"
            (nzOnCancel)="handleCancel()"
            (nzOnOk)="handleOk()"
            [nzOkLoading]="isOkLoading"
  >
    <nz-form-item>
      <nz-form-label [nzSpan]="16" nzRequired> 将{{deviceAllSelected?total:inputDeviceListByUpdateStatus.length}}个设备批量修改为</nz-form-label>
      <!--    <nz-form-label [nzSpan]="16" nzRequired> {{inputDeviceListByUpdateStatus.length}}</nz-form-label>-->
      <nz-form-control [nzSpan]="8">
        <nz-switch [(ngModel)]="deviceStatus" nzCheckedChildren="在营状态" nzUnCheckedChildren="禁用状态"></nz-switch>
      </nz-form-control>
    </nz-form-item>
  </nz-modal>
</div>
